<div class="dashboard-widget-content-projectheartbeat-content"
     data-project-id="{{ project_id }}"
     data-locale="{{ locale }}"
     data-today="{{ today }}"
     data-yesterday="{{ yesterday }}"
     data-recently="{{ recently }}"
     data-date-time-format="{{ date_time_format }}"
     data-date-format="{{ date_format }}"
>
    <div class="dashboard-widget-content-projectheartbeat-loading shown"></div>
    <div class="dashboard-widget-content-projectheartbeat-error">
        <div class="tlp-alert-danger">
            {{ error_message }}
        </div>
    </div>
    <div class="dashboard-widget-content-projectheartbeat-empty empty-pane">
        <svg xmlns="http://www.w3.org/2000/svg"
             class="empty-pane-icon widget-project-heartbeat-empty-icon"
             width="304"
             height="140"
             viewBox="0 0 304 140"
        >
            <path d="M1310,409.092725 L1310,399.999908 L1258.74818,399.999908 C1257.9622,399.999908 1257.2493,399.53834 1256.92676,398.820641 L1250.41148,384.322944 L1234.73318,455.430946 C1234.24514,457.644425 1231.03674,457.465814 1230.79674,455.211805 L1217.77771,332.939685 L1205.78598,398.36097 C1205.61194,399.310419 1204.78548,399.999908 1203.82146,399.999908 L1152.996,399.999908 L1152.996,409.092228 C1158.64047,409.793599 1163,414.409824 1163,420 C1163,426.075132 1157.85127,431 1151.5,431 C1145.14873,431 1140,426.075132 1140,420 C1140,414.411144 1144.35747,409.795779 1150,409.092725 L1150,399.999908 L1110.94537,399.999908 C1109.84227,399.999908 1108.94804,399.10448 1108.94804,397.999913 C1108.94804,396.895346 1109.84227,395.999918 1110.94537,395.999918 L1129.92006,395.999918 L1129.92006,387.150812 C1124.42335,386.417475 1120.18305,381.704569 1120.18305,375.999968 C1120.18305,369.78678 1125.21313,364.749995 1131.41806,364.749995 C1137.62298,364.749995 1142.65307,369.78678 1142.65307,375.999968 C1142.65307,381.704569 1138.41276,386.417475 1132.91606,387.150812 L1132.91606,395.999918 L1169.86676,395.999918 L1169.86676,382.925888 C1162.29688,382.173303 1156.38475,375.77799 1156.38475,367.999987 C1156.38475,359.715737 1163.09153,353.000024 1171.36476,353.000024 C1179.63799,353.000024 1186.34477,359.715737 1186.34477,367.999987 C1186.34477,375.77799 1180.43265,382.173303 1172.86276,382.925888 L1172.86276,395.999918 L1202.15736,395.999918 L1216.33762,318.639052 C1216.75376,316.3688 1220.04384,316.492907 1220.28822,318.788076 L1233.47125,442.600482 L1247.8098,377.568789 C1248.22434,375.688647 1250.79251,375.423404 1251.58158,377.179235 L1260.03962,395.999918 L1288.7082,395.999918 L1288.7082,382.925888 C1281.13832,382.173303 1275.22619,375.77799 1275.22619,367.999987 C1275.22619,359.715737 1281.93297,353.000024 1290.2062,353.000024 C1298.47944,353.000024 1305.18622,359.715737 1305.18622,367.999987 C1305.18622,375.77799 1299.27409,382.173303 1291.70421,382.925888 L1291.70421,395.999918 L1328,395.999918 L1328,386.907275 C1322.35747,386.204221 1318,381.588856 1318,376 C1318,369.924868 1323.14873,365 1329.5,365 C1335.85127,365 1341,369.924868 1341,376 C1341,381.590176 1336.64047,386.206401 1330.996,386.907772 L1330.996,395.999918 L1366.93835,395.999918 L1366.93835,390.99993 L1374,398.070981 L1366.93835,405.142031 L1366.93835,399.999908 L1312.996,399.999908 L1312.996,409.092228 C1318.64047,409.793599 1323,414.409824 1323,420 C1323,426.075132 1317.85127,431 1311.5,431 C1305.14873,431 1300,426.075132 1300,420 C1300,414.411144 1304.35747,409.795779 1310,409.092725 Z M1329.5,385 C1334.7661,385 1339,380.950186 1339,376 C1339,371.049814 1334.7661,367 1329.5,367 C1324.2339,367 1320,371.049814 1320,376 C1320,380.950186 1324.2339,385 1329.5,385 Z M1151.5,429 C1156.7661,429 1161,424.950186 1161,420 C1161,415.049814 1156.7661,411 1151.5,411 C1146.2339,411 1142,415.049814 1142,420 C1142,424.950186 1146.2339,429 1151.5,429 Z M1311.5,429 C1316.7661,429 1321,424.950186 1321,420 C1321,415.049814 1316.7661,411 1311.5,411 C1306.2339,411 1302,415.049814 1302,420 C1302,424.950186 1306.2339,429 1311.5,429 Z M1071.99734,399.999908 C1070.89424,399.999908 1070,399.10448 1070,397.999913 C1070,396.895346 1070.89424,395.999918 1071.99734,395.999918 L1077.98934,395.999918 C1079.09244,395.999918 1079.98668,396.895346 1079.98668,397.999913 C1079.98668,399.10448 1079.09244,399.999908 1077.98934,399.999908 L1071.99734,399.999908 Z M1084.98001,399.999908 C1083.87692,399.999908 1082.98268,399.10448 1082.98268,397.999913 C1082.98268,396.895346 1083.87692,395.999918 1084.98001,395.999918 L1103.9547,395.999918 C1105.0578,395.999918 1105.95203,396.895346 1105.95203,397.999913 C1105.95203,399.10448 1105.0578,399.999908 1103.9547,399.999908 L1084.98001,399.999908 Z M1131.41806,366.74999 C1126.31623,366.74999 1122.18038,370.891346 1122.18038,375.999968 C1122.18038,381.108589 1126.31623,385.249945 1131.41806,385.249945 C1136.51988,385.249945 1140.65573,381.108589 1140.65573,375.999968 C1140.65573,370.891346 1136.51988,366.74999 1131.41806,366.74999 Z M1171.36476,355.00002 C1164.19463,355.00002 1158.38208,360.820303 1158.38208,367.999987 C1158.38208,375.179671 1164.19463,380.999955 1171.36476,380.999955 C1178.5349,380.999955 1184.34744,375.179671 1184.34744,367.999987 C1184.34744,360.820303 1178.5349,355.00002 1171.36476,355.00002 Z M1290.2062,355.00002 C1283.03607,355.00002 1277.22353,360.820303 1277.22353,367.999987 C1277.22353,375.179671 1283.03607,380.999955 1290.2062,380.999955 C1297.37634,380.999955 1303.18888,375.179671 1303.18888,367.999987 C1303.18888,360.820303 1297.37634,355.00002 1290.2062,355.00002 Z M1285.40917,373.656224 C1285.40917,374.515598 1284.73819,374.999972 1283.92677,374.999972 C1283.43524,374.999972 1282.93591,374.83591 1282.58481,374.484348 L1283.02953,373.796849 C1283.24019,373.992161 1283.56007,374.148411 1283.85655,374.148411 C1284.12963,374.148411 1284.4183,374.015599 1284.4183,373.703099 C1284.4183,373.2656 1283.91897,373.242162 1283.59908,373.2656 L1283.39623,372.8281 C1283.6771,372.468726 1283.93457,372.070289 1284.27006,371.765602 L1284.27006,371.757789 C1284.0204,371.757789 1283.76293,371.773414 1283.51326,371.773414 L1283.51326,372.187476 L1282.68624,372.187476 L1282.68624,370.999978 L1285.28434,370.999978 L1285.28434,371.687477 L1284.54314,372.585913 C1285.06588,372.710913 1285.40917,373.117162 1285.40917,373.656224 Z M1285.42478,368.757793 L1285.42478,369.999979 L1282.60041,369.999979 C1282.57701,369.859354 1282.5536,369.718729 1282.5536,369.578104 C1282.5536,368.132794 1284.31688,367.914044 1284.31688,367.257795 C1284.31688,366.99217 1284.15303,366.851545 1283.89556,366.851545 C1283.62249,366.851545 1283.39623,367.08592 1283.26359,367.30467 L1282.60041,366.843733 C1282.85788,366.304671 1283.38843,365.999984 1283.98139,365.999984 C1284.70698,365.999984 1285.33115,366.429671 1285.33115,367.203107 C1285.33115,368.359356 1283.63809,368.617168 1283.61469,369.226542 L1284.60555,369.226542 L1284.60555,368.757793 L1285.42478,368.757793 Z M1296.41793,371.249977 L1296.41793,372.749975 C1296.41793,372.882788 1296.3009,372.999975 1296.16827,372.999975 L1286.68091,372.999975 C1286.54048,372.999975 1286.43125,372.882788 1286.43125,372.749975 L1286.43125,371.249977 C1286.43125,371.109352 1286.54048,370.999978 1286.68091,370.999978 L1296.16827,370.999978 C1296.3009,370.999978 1296.41793,371.109352 1296.41793,371.249977 Z M1285.43258,364.226549 L1285.43258,364.999985 L1282.81887,364.999985 L1282.81887,364.226549 L1283.6537,364.226549 C1283.6537,363.593737 1283.6615,362.960925 1283.6615,362.328114 L1283.6615,362.234364 L1283.6459,362.234364 C1283.56007,362.406239 1283.40403,362.523426 1283.25579,362.656238 L1282.70184,362.062489 L1283.76293,361.070303 L1284.58995,361.070303 L1284.58995,364.226549 L1285.43258,364.226549 Z M1296.41793,367.249982 L1296.41793,368.74998 C1296.41793,368.882793 1296.3009,368.99998 1296.16827,368.99998 L1286.68091,368.99998 C1286.54048,368.99998 1286.43125,368.882793 1286.43125,368.74998 L1286.43125,367.249982 C1286.43125,367.109358 1286.54048,366.999983 1286.68091,366.999983 L1296.16827,366.999983 C1296.3009,366.999983 1296.41793,367.109358 1296.41793,367.249982 Z M1296.41793,363.249988 L1296.41793,364.749986 C1296.41793,364.882798 1296.3009,364.999985 1296.16827,364.999985 L1286.68091,364.999985 C1286.54048,364.999985 1286.43125,364.882798 1286.43125,364.749986 L1286.43125,363.249988 C1286.43125,363.117175 1286.54048,362.999988 1286.68091,362.999988 L1296.16827,362.999988 C1296.3009,362.999988 1296.41793,363.117175 1296.41793,363.249988 Z M1149,423.880955 C1149,424.489499 1148.52486,424.832496 1147.95028,424.832496 C1147.60221,424.832496 1147.24862,424.71632 1147,424.46737 L1147.31492,423.980535 C1147.46409,424.11884 1147.69061,424.229484 1147.90055,424.229484 C1148.09392,424.229484 1148.29834,424.135437 1148.29834,423.914148 C1148.29834,423.604344 1147.94475,423.587747 1147.71823,423.604344 L1147.57459,423.294539 C1147.77348,423.040057 1147.9558,422.757914 1148.19337,422.542157 L1148.19337,422.536625 C1148.01657,422.536625 1147.83425,422.54769 1147.65746,422.54769 L1147.65746,422.840897 L1147.07182,422.840897 L1147.07182,422 L1148.9116,422 L1148.9116,422.486835 L1148.38674,423.123041 C1148.75691,423.211556 1149,423.499231 1149,423.880955 Z M1149,419.921033 L1149,420.786314 L1147.03261,420.786314 C1147.0163,420.688358 1147,420.590402 1147,420.492445 C1147,419.485671 1148.22826,419.333295 1148.22826,418.876165 C1148.22826,418.691137 1148.11413,418.59318 1147.93478,418.59318 C1147.74457,418.59318 1147.58696,418.756441 1147.49457,418.908817 L1147.03261,418.587738 C1147.21196,418.212239 1147.58152,418 1147.99457,418 C1148.5,418 1148.93478,418.299311 1148.93478,418.838071 C1148.93478,419.64349 1147.75543,419.823077 1147.73913,420.247554 L1148.42935,420.247554 L1148.42935,419.921033 L1149,419.921033 Z M1149,416.311646 L1149,416.878113 L1147.08571,416.878113 L1147.08571,416.311646 L1147.69714,416.311646 C1147.69714,415.848172 1147.70286,415.384699 1147.70286,414.921225 L1147.70286,414.852562 L1147.69143,414.852562 C1147.62857,414.978444 1147.51429,415.064273 1147.40571,415.161545 L1147,414.726681 L1147.77714,414 L1148.38286,414 L1148.38286,416.311646 L1149,416.311646 Z M1155.5,422.125 L1155.5,422.875 C1155.5,422.941406 1155.43555,423 1155.3625,423 L1150.1375,423 C1150.06016,423 1150,422.941406 1150,422.875 L1150,422.125 C1150,422.054688 1150.06016,422 1150.1375,422 L1155.3625,422 C1155.43555,422 1155.5,422.054688 1155.5,422.125 Z M1155.5,419.125 L1155.5,419.875 C1155.5,419.941406 1155.43555,420 1155.3625,420 L1150.1375,420 C1150.06016,420 1150,419.941406 1150,419.875 L1150,419.125 C1150,419.054688 1150.06016,419 1150.1375,419 L1155.3625,419 C1155.43555,419 1155.5,419.054688 1155.5,419.125 Z M1155.5,416.125 L1155.5,416.875 C1155.5,416.941406 1155.43555,417 1155.3625,417 L1150.1375,417 C1150.06016,417 1150,416.941406 1150,416.875 L1150,416.125 C1150,416.058594 1150.06016,416 1150.1375,416 L1155.3625,416 C1155.43555,416 1155.5,416.058594 1155.5,416.125 Z M1177.04594,363.968737 C1177.33462,364.257799 1177.57649,364.835923 1177.57649,365.249985 L1177.57649,374.249973 C1177.57649,374.664035 1177.241,374.999972 1176.82749,374.999972 L1166.34146,374.999972 C1165.92795,374.999972 1165.59246,374.664035 1165.59246,374.249973 L1165.59246,361.749989 C1165.59246,361.335927 1165.92795,360.99999 1166.34146,360.99999 L1173.33215,360.99999 C1173.74566,360.99999 1174.32301,361.242178 1174.61169,361.53124 L1177.04594,363.968737 Z M1173.58181,362.062489 L1173.58181,364.999985 L1176.5154,364.999985 C1176.46859,364.867173 1176.39837,364.734361 1176.34376,364.679673 L1173.9017,362.234364 C1173.84708,362.179676 1173.71445,362.109364 1173.58181,362.062489 Z M1176.57782,373.999974 L1176.57782,365.999984 L1173.33215,365.999984 C1172.91863,365.999984 1172.58314,365.664047 1172.58314,365.249985 L1172.58314,361.999989 L1166.59113,361.999989 L1166.59113,373.999974 L1176.57782,373.999974 Z M1168.58847,367.249982 C1168.58847,367.109358 1168.6977,366.999983 1168.83814,366.999983 L1174.33081,366.999983 C1174.47125,366.999983 1174.58048,367.109358 1174.58048,367.249982 L1174.58048,367.749982 C1174.58048,367.890607 1174.47125,367.999981 1174.33081,367.999981 L1168.83814,367.999981 C1168.6977,367.999981 1168.58847,367.890607 1168.58847,367.749982 L1168.58847,367.249982 Z M1174.33081,368.99998 C1174.47125,368.99998 1174.58048,369.109355 1174.58048,369.24998 L1174.58048,369.749979 C1174.58048,369.890604 1174.47125,369.999979 1174.33081,369.999979 L1168.83814,369.999979 C1168.6977,369.999979 1168.58847,369.890604 1168.58847,369.749979 L1168.58847,369.24998 C1168.58847,369.109355 1168.6977,368.99998 1168.83814,368.99998 L1174.33081,368.99998 Z M1174.33081,370.999978 C1174.47125,370.999978 1174.58048,371.109352 1174.58048,371.249977 L1174.58048,371.749977 C1174.58048,371.890601 1174.47125,371.999976 1174.33081,371.999976 L1168.83814,371.999976 C1168.6977,371.999976 1168.58847,371.890601 1168.58847,371.749977 L1168.58847,371.249977 C1168.58847,371.109352 1168.6977,370.999978 1168.83814,370.999978 L1174.33081,370.999978 Z M1130.88877,380.499956 C1130.88877,380.085894 1130.55328,379.749957 1130.13976,379.749957 C1129.72625,379.749957 1129.39076,380.085894 1129.39076,380.499956 C1129.39076,380.914018 1129.72625,381.249955 1130.13976,381.249955 C1130.55328,381.249955 1130.88877,380.914018 1130.88877,380.499956 Z M1130.88877,371.499967 C1130.88877,371.085905 1130.55328,370.749968 1130.13976,370.749968 C1129.72625,370.749968 1129.39076,371.085905 1129.39076,371.499967 C1129.39076,371.914029 1129.72625,372.249966 1130.13976,372.249966 C1130.55328,372.249966 1130.88877,371.914029 1130.88877,371.499967 Z M1135.88211,372.499966 C1135.88211,372.085904 1135.54662,371.749967 1135.13311,371.749967 C1134.7196,371.749967 1134.38411,372.085904 1134.38411,372.499966 C1134.38411,372.914028 1134.7196,373.249965 1135.13311,373.249965 C1135.54662,373.249965 1135.88211,372.914028 1135.88211,372.499966 Z M1136.63111,372.499966 C1136.63111,373.054653 1136.32683,373.539027 1135.88211,373.796839 C1135.8587,376.617148 1133.86137,377.242148 1132.53501,377.664022 C1131.29448,378.054647 1130.88877,378.242146 1130.88877,378.999958 L1130.88877,379.203083 C1131.33349,379.460895 1131.63777,379.945269 1131.63777,380.499956 C1131.63777,381.32808 1130.96679,381.999954 1130.13976,381.999954 C1129.31274,381.999954 1128.64176,381.32808 1128.64176,380.499956 C1128.64176,379.945269 1128.94604,379.460895 1129.39076,379.203083 L1129.39076,372.796841 C1128.94604,372.539029 1128.64176,372.054654 1128.64176,371.499967 C1128.64176,370.671843 1129.31274,369.999969 1130.13976,369.999969 C1130.96679,369.999969 1131.63777,370.671843 1131.63777,371.499967 C1131.63777,372.054654 1131.33349,372.539029 1130.88877,372.796841 L1130.88877,376.679648 C1131.28667,376.484336 1131.70799,376.351524 1132.09029,376.234336 C1133.54148,375.773399 1134.3685,375.42965 1134.38411,373.796839 C1133.93939,373.539027 1133.63511,373.054653 1133.63511,372.499966 C1133.63511,371.671842 1134.30609,370.999968 1135.13311,370.999968 C1135.96013,370.999968 1136.63111,371.671842 1136.63111,372.499966 Z M1316.63111,416.499966 C1316.63111,417.054653 1316.32683,417.539027 1315.88211,417.796839 C1315.8587,420.617148 1313.86137,421.242148 1312.53501,421.664022 C1311.29448,422.054647 1310.88877,422.242146 1310.88877,422.999958 L1310.88877,423.203083 C1311.33349,423.460895 1311.63777,423.945269 1311.63777,424.499956 C1311.63777,425.32808 1310.96679,425.999954 1310.13976,425.999954 C1309.31274,425.999954 1308.64176,425.32808 1308.64176,424.499956 C1308.64176,423.945269 1308.94604,423.460895 1309.39076,423.203083 L1309.39076,416.796841 C1308.94604,416.539029 1308.64176,416.054654 1308.64176,415.499967 C1308.64176,414.671843 1309.31274,413.999969 1310.13976,413.999969 C1310.96679,413.999969 1311.63777,414.671843 1311.63777,415.499967 C1311.63777,416.054654 1311.33349,416.539029 1310.88877,416.796841 L1310.88877,420.679648 C1311.28667,420.484336 1311.70799,420.351524 1312.09029,420.234336 C1313.54148,419.773399 1314.3685,419.42965 1314.38411,417.796839 C1313.93939,417.539027 1313.63511,417.054653 1313.63511,416.499966 C1313.63511,415.671842 1314.30609,414.999968 1315.13311,414.999968 C1315.96013,414.999968 1316.63111,415.671842 1316.63111,416.499966 Z M1310.88877,424.499956 C1310.88877,424.085894 1310.55328,423.749957 1310.13976,423.749957 C1309.72625,423.749957 1309.39076,424.085894 1309.39076,424.499956 C1309.39076,424.914018 1309.72625,425.249955 1310.13976,425.249955 C1310.55328,425.249955 1310.88877,424.914018 1310.88877,424.499956 Z M1310.88877,415.499967 C1310.88877,415.085905 1310.55328,414.749968 1310.13976,414.749968 C1309.72625,414.749968 1309.39076,415.085905 1309.39076,415.499967 C1309.39076,415.914029 1309.72625,416.249966 1310.13976,416.249966 C1310.55328,416.249966 1310.88877,415.914029 1310.88877,415.499967 Z M1315.88211,416.499966 C1315.88211,416.085904 1315.54662,415.749967 1315.13311,415.749967 C1314.7196,415.749967 1314.38411,416.085904 1314.38411,416.499966 C1314.38411,416.914028 1314.7196,417.249965 1315.13311,417.249965 C1315.54662,417.249965 1315.88211,416.914028 1315.88211,416.499966 Z M1334.91,375.992788 C1334.91,376.113981 1334.83425,376.235174 1334.75346,376.326069 L1333.05676,378.325752 C1332.76388,378.669132 1332.16801,378.941816 1331.72364,378.941816 L1325.76767,378.941816 C1325.58588,378.941816 1325.32835,378.88627 1325.32835,378.659033 C1325.32835,378.53784 1325.40409,378.416647 1325.48489,378.325752 L1327.64347,376.326069 C1327.93636,375.982689 1328.53222,375.710005 1328.9766,375.710005 L1334.47068,375.710005 C1334.65246,375.710005 1334.91,375.765552 1334.91,375.992788 Z M1333.17795,374.25569 L1333.17795,375.063643 L1328.9766,375.063643 C1328.34538,375.063643 1327.56268,375.422172 1327.15365,375.906943 L1325.0303,377.853467 L1325.00505,377.883765 C1325.00505,377.843367 1325,377.79792 1325,377.757522 L1325.0303,372.71451 C1325.0303,372.093396 1325.91423,372 1326.53534,372 L1328.45451,372 C1329.07563,372 1329.54582,372.146556 1329.54582,372.76767 L1329.54582,373.535339 L1332.29286,373.535339 C1332.91398,373.535339 1333.17795,373.634576 1333.17795,374.25569 Z" transform="translate(-1070 -317)"/>
        </svg>
        <p class="empty-pane-text dashboard-widget-content-projectheartbeat-empty-no-activity">
            {{{ purified_empty_state_no_activity }}}
        </p>
        <p class="empty-pane-text dashboard-widget-content-projectheartbeat-empty-no-perms">
            {{{ purified_empty_state_no_perms }}}
        </p>
    </div>
    <div class="dashboard-widget-content-projectheartbeat-activities">
    </div>
    <script class="dashboard-widget-content-projectheartbeat-placeholder" type="x-tmpl-mustache">
        {{=<% %>=}}
            {{# groups }}
                {{# entries.length }}
                    <div class="dashboard-widget-content-projectheartbeat-label">{{ label }}</div>
                    {{# entries }}
                        <div class="dashboard-widget-content-projectheartbeat-item">
                            <div class="dashboard-widget-content-projectheartbeat-item-icon">{{{ small_icon }}}</div>
                            <div class="dashboard-widget-content-projectheartbeat-item-content">
                                <div class="dashboard-widget-content-projectheartbeat-item-message">
                                    {{{ html_message }}}
                                </div>
                                <div class="dashboard-widget-content-projectheartbeat-item-time">
                                    <i class="fa fa-clock-o dashboard-widget-content-projectheartbeat-item-time-icon"></i>
                                    {{ updated_at }}
                                </div>
                            </div>
                        </div>
                    {{/ entries }}
                {{/ entries.length }}
            {{/ groups }}
        <%={{ }}=%>
    </script>
</div>
